package com.zxy.mapper;

import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

public interface AccountMapper {

    /**
     * 扣减用户余额
     * @param userId
     * @param count user money
     */
    void decrease(@Param("userId")Long userId,@Param("count") BigDecimal count);
}
